Skip to content

Add ScentProfile section to You tab#5

Merged
ChrisGoslin merged 1 commit into
mainfrom
claude/gallant-johnson-YzVYk
Jun 23, 2026
Merged

Add ScentProfile section to You tab#5
ChrisGoslin merged 1 commit into
mainfrom
claude/gallant-johnson-YzVYk

Conversation

@ChrisGoslin

Copy link
Copy Markdown
Owner

Summary

  • Adds a ScentProfile section to YouClient.tsx, visible only in the signed-in state, positioned between Saved formulations and Settings
  • Current conditions: requests browser geolocation on mount, fetches live temperature + humidity from Open-Meteo (no API key) and city name via Nominatim reverse geocoding; handles denied/unsupported states gracefully
  • Work environment: single-select chips (Office, WFH, Outdoor, Creative, Client-facing) persisted to localStorage key scentral-environment
  • Preferred use cases: multi-select chips (Daily wear, Date night, Work, Sport, Evening out, Travel, Formal, Casual) persisted to localStorage key scentral-use-cases
  • Uses existing Chip component and --line, --text, --text-muted, --accent, --font-display tokens from lib/design/tokens.css
  • Purely client-side state — no DB writes

Test plan

  • Sign in; confirm ScentProfile section appears between Saved and Settings
  • Allow location permission; verify city name and temp/humidity display
  • Deny location permission; verify "Location access denied" message
  • Select a work environment chip; reload page and confirm selection persists
  • Toggle multiple use-case chips; reload and confirm selections persist
  • Confirm signed-out view is unaffected (ScentProfile not rendered)

https://claude.ai/code/session_015caZL4kUBGcvq75JX2TbVS


Generated by Claude Code

Shows live weather + city via browser geolocation + Open-Meteo/Nominatim.
Single-select work environment and multi-select use-case chips both persist
to localStorage. Pure client-side — no DB writes.

https://claude.ai/code/session_015caZL4kUBGcvq75JX2TbVS
@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
scentral Ready Ready Preview, Comment Jun 4, 2026 9:58pm
scentral-vmrf Ready Ready Preview, Comment Jun 4, 2026 9:58pm
scentral-z32m Error Error Jun 4, 2026 9:58pm
scentral-znjm Error Error Jun 4, 2026 9:58pm

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@ChrisGoslin ChrisGoslin merged commit 024990b into main Jun 23, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants